#ifndef DETAIL_H
#define DETAIL_H

#include "Common/Common.h"
#include "Game/Logic/Common/Body.h"
#include "Part.h"

class Detail : public Part
{
public:
	Detail( b2World* world, const cmn::Transform& pos, const cmn::Transform& vel, const ReusableBodyDef* reusableBodyDef, const TextureInfo* texInfo );
	virtual ~Detail();

	virtual void PerformAction( const Action& action );

	virtual void Update( float dt );
	virtual void Draw() const;

	inline b2Body* GetBody() const { return m_body->GetBody(); }

private:
	Body* m_body;
};

#endif
